import { Middleware } from "koa";
import { buildTypeList } from "../../constants/buildTypeList";
import { Result } from "../factory/Result";

export const listTaskType: Middleware = async (ctx, next) => {
  ctx.body = Result.success(buildTypeList);
};
